package com.lujianfei.powersearch.ui.report.model

data class ReportItemModel(
    val content:String,
    val cost:String,
    val type:ReportItemType
) {
    fun costDisplay():String {
        kotlin.runCatching {
            return String.format("%.2f", cost.toDouble())
        }
        return ""
    }
}

enum class ReportItemType {
    NameTitle,
    MainTitle,
    SecondTitle,
    ThirdTitle,
}
